{extend name="user/index" /}

{block name="main"}

<div class="row">
    <div class="col-md-6 h1">
        <ul class="list-group">
            <li class="list-group-item">ID: {$row.id}</li>
            <li class="list-group-item">NAME: {$row.name}</li>
            <li class="list-group-item">
                SEX:
                {switch name="row.sex"}
                    {case value="0"} 女{/case}
                    {case value="1"} 男{/case}
                    {default /} 未知
                {/switch}
            </li>
            <li class="list-group-item">tel: {$row.tel}</li>
        </ul>
    </div>
</div>

{/block}

{block name="myjs"}{/block}

